import CommonVM from 'cvm/common'
import * as api from 'lib/constants/api'
import PostListVM from 'cvm/post/postlist'

export default class TopPostVM extends CommonVM {
  constructor (props) {
    super()
    window.document.title = '精华'
    this.props = props
    this.postListVM = new PostListVM({data: props, api: api.TOP_POST})
  }
}
